//
//  ZNDatePicerView.h
//  GuoBinTeam
//
//  Created by lizhenning on 15/1/8.
//  Copyright (c) 2015年 lizhenning. All rights reserved.
//

#import <UIKit/UIKit.h>

/*!
 @header ZNDatePickerView
 @abstract 时间选择控件
 @author Li Zhenning email:zning_li@163.com
 @charset utf-8
 @encoding utf-8
 @version 1.0
 @updated
 @copyright Li Zhenning
 */

@protocol ZNDatePickerViewDelegate <NSObject>

///选择结果 
- (void)datePickerResult:(NSDate *)date;

@end

@interface ZNDatePickerView : UIView

@property (nonatomic , weak) id<ZNDatePickerViewDelegate> delegate;

- (id)initWithFrame:(CGRect)frame andTimeLine:(NSDate *)date;

- (id)initWithFrame:(CGRect)frame andTimeLine:(NSDate *)date Model:(NSInteger)model Max:(NSDate *)maxDate Min:(NSDate *)minDate;

@end
